package com.gnerv.battle.boot.framework.model.dto;

import com.gnerv.battle.boot.framework.model.bo.ManageAccountBO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author Gnerv LiGen
 */
@Data
public class ManageAccountUpdateDTO {

    private String ukId;
    private String status;
    private Integer sort;

    public ManageAccountBO toManageAccountBO() {
        ManageAccountBO manageAccountBO = new ManageAccountBO();
        BeanUtils.copyProperties(this, manageAccountBO);
        return manageAccountBO;
    }
}